package com.jk.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
 * @ClassName RabbitmqConfig
 * @Descripttion TODO
 * @Author binzi
 * @Date 2022/11/7 16:36
 * @Version 0.001
 */
@Configuration
public class RabbitmqConfig {

    @Bean
    public Queue createQueue(){
        //创建队列名称
        return new Queue("binzi");
    }
}
